package com.powerpoint.springboot3003package.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
public class MultiConfigService {

    @Value("${spring.data.redis.host}")
    private String redisHost;
    @Value("${spring.datasource.url}")
    private String mysqlHost;

    public void print() {
        System.out.println("redisHost = " + redisHost + ", mysqlHost=" + mysqlHost);
    }
}
